package com.example.service;

import com.example.pojo.VehiclePy;
import com.baomidou.mybatisplus.extension.service.IService;
import com.example.vo.ResultVo;
import com.github.pagehelper.PageInfo;

/**
 * <p>
 * 车辆申请表 服务类
 * </p>
 *
 * @author wsl
 * @since 2022-05-06
 */
public interface IVehiclePyService extends IService<VehiclePy> {

    //申请记录
    ResultVo queryAllVehiclePy(String empName);

    /**
     * 查询车辆申请的车辆列表
     * @return
     */
    ResultVo queryVehicleList();

    /**
     * 创建车辆申请
     * @param vehiclePy
     * @return
     */
    ResultVo createVehiclePy(VehiclePy vehiclePy);
}
